from langchain.chat_models import init_chat_model
from langchain_core.output_parsers import StrOutputParser

model = init_chat_model(model="deepseek-chat",model_provider="deepseek")
question = "请介绍一下你自己"

chain = model | StrOutputParser()
result = chain.invoke(question)

print(result)